import request from '@/utils/request'

/**获取群聊信息 弹窗*/
export function getGroupUserList(params) {
	return request({
		url: '/shsgroup/userlist',
		method: 'get',
		params
	})
}
/**更新群聊信息 弹窗 群聊名称*/
export function upGroupName(data) {
	return request({
		url: '/shsgroup/updateGroupName',
		method: 'post',
		data
	})
}
/**更新群聊信息 弹窗 头像*/
export function upGroupUrl(data) {
	return request({
		url: '/shsgroup/updateGroupUrl',
		method: 'post',
		data
	})
}
/**退出群聊*/
export function exitGroup(data) {
	return request({
		url: '/shsgroup/exit',
		method: 'post',
		data
	})
}